Bookly\Lib\Slots\Generator C

Total Complexity 106
Dependencies 11
Dependents 2
Total lines 545
Lines of code 287
Logical lines of code 171
Comment lines 173
Methods 13
Properties 20

Methods 13

Method Rating Maintainability Complexity Lines of code
_mapStaffBookings()
C
36 27 71
current()
C
36 27 66
_tryFindPastSlot()
A
47 14 32
__construct()
A
44 13 38
_tryFindNextSlot()
A
48 12 35
_findPreferableSlot()
S
60 3 13
_findNextSlot()
S
63 3 10
_storePastSlot()
S
68 2 7
serviceDurationInDays()
S
82 1 3
rewind()
S
80 1 3
key()
S
82 1 3
next()
S
80 1 3
valid()
S
82 1 3